let arr = [2, 3, 4, 5]
console.log(Math.max(...arr)); //剩余符号可以代替多参
let arr2 = [...arr]
console.log(`arr2=${arr2},arr2等于arr吗？${arr2 == arr}`); //因为是浅复制，所以arr!=arr2
let arr1 = [1, 2, 3]
console.log([...arr, ...arr1, ...arr2]); //可以合并多个数组，成为一个多维数组

console.log(arr2);
arr2.push(...arr1)
console.log(arr2);